﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace commodity.Dtos
{
    public class FirstsCommdityMenuDto
    {
        [Required]
        public int Id { get; set; }
        [MaxLength(32)]
        [Required]
        public string Name { get; set; }
        public ICollection<SecondCommdityMenuDto> SecondCommodityMenus { get; set; } = new List<SecondCommdityMenuDto>();
    }
}
